package com.chat.page.main;

import javax.swing.*;

/**
 * @Author: 胡成
 * @Version: 0.0.1V
 * @Date: 2019/2/14
 * @Description: 好友聊天界面
 **/
public class MainPage {

    public static void mainPage(JPanel panel, JFrame frame) {
        JPanel main = new JPanel();
        frame.remove(panel);
        frame.add(main);
        frame.setSize(1000, 600);
        frame.setLocationRelativeTo(null);
    }
}
